package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.NewsContent;
import cn.wolfcode.trip.base.mapper.NewsContentMapper;
import cn.wolfcode.trip.base.service.INewsContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service   //日报内容实现类
public class NewsContentServiceImpl implements INewsContentService {

    @Autowired
    private NewsContentMapper NewsContentMapper;


    @Override
    public NewsContent get(Long id) {
        return  NewsContentMapper.selectByPrimaryKey(id);
    }

}
